package cn.zijitc.service;

import cn.zijitc.util.DingDingUtil;

public class DingDingService {
    public  void go(String message,String token,String whois){
        DingDingUtil dingDingUtil=new DingDingUtil();
        String token2="19edc57cddedde3749e7e742258549c5381b4ac3a8de722cb1f4a269780dd545";
        String token1="604d86002b4a8cb4a4a34368818de87f108a033c2cc20ae183a2bc49d07ec7c9";

        dingDingUtil.pushDingDingTalk(token,message,whois);
    }
    public void gomarkdown(String message,String token,String whois,String phone){
        DingDingUtil dingDingUtil=new DingDingUtil();
        dingDingUtil.markdown(message,token,whois,phone);
    }
    public void golink(String message,String token,String murl,String whois,String picurl){
        DingDingUtil dingDingUtil=new DingDingUtil();
        dingDingUtil.link(message,token,murl,whois,picurl);
    }
    public void gotext(String message,String token,String phone,String qun,String name){
        DingDingUtil dingDingUtil=new DingDingUtil();
        dingDingUtil.text(message,token,phone,qun,name);
    }

}
